
<div id="books">

    {% if result %}
    <div class="class_list">
        <h3>{{ result['title'] }}</h3>
        <hr>
            {% for bk in result['result'] %}
            <div class="book">
                <div class="bookname">
                    <a href="{{ bk['href']}}" target="_blank"><h3>{{ bk['name']}}</h3></a>
                </div>
                <div class="author">
                    <small>{{ bk['author'] }}</small>
                </div>
                <div class="describe">
                    {{ bk['describe'] }}
                </div>
<!--                 <div class="state">
                    <button></button>211
                </div>
            </div> -->
            {% endfor %}
        </div>
    {% else %}

        <div class="class_list">
        <h3>最新推荐</h3>
        <hr>
        <div class="book">
            <div class="bookname">
                <a href="/" target="_b"><h3>我是至尊</h3></a>
            </div>
            <div class="author">
                <small>风凌天下</small>
            </div>
            <div class="describe">
                药不成丹只是毒； 人不成神终成空！ ...... 天道有缺,人间不平；红尘世外，魍魉横行；哀尔不幸,恨而不争；冷眼红尘,无憾今生！...... 时值乱世,群雄并起；烽烟处处,山河破碎。九尊智囊云扬
            </div>
            <div class="state">
                <button></button>211
            </div>
        </div>

        <div class="book">
            <div class="bookname">
                <a href="/"><h3>圣墟</h3></a>
            </div>
            <div class="author">
                <small>辰东</small>
            </div>
            <div class="describe">
                在破败中崛起，在寂灭中复苏。 沧海成尘，雷电枯竭，那一缕幽雾又一次临近大地，世间的枷锁被打开了，一个全新的世界就此揭开神秘的一角……...
            </div>
            <div class="state">
                <button></button>211
            </div>
        </div>

    </div>
    {% endif %}

</div>